﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="ForgotPassword.aspx.cs" Inherits="INHollandair.Account.ForgotPassword" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <div class="container pull-down">
        <div class="row">
            <div class="span8 offset2">
                <h1>Wachtwoord vergeten</h1>
                <fieldset class="well roundedBorder form-horizontal">
                    <asp:Panel ID="pnl_ForgotPassword" runat="server">
                        <div class="control-group">
                            <label class="control-label" for="EmailAddress">E-mail adres:</label>
                            <div class="controls">
                                <asp:TextBox ID="EmailAddress" MaxLength="50" runat="server"></asp:TextBox>
                                <asp:RequiredFieldValidator ID="EmailAddressRequired" ForeColor="Red" runat="server" ControlToValidate="EmailAddress" ErrorMessage="E-mail adres is niet ingevuld." ValidationGroup="ResetPasswordValidationGroup"></asp:RequiredFieldValidator>
                            </div>
                        </div>
                        <div class="control-group">
                            <label  class="control-label">Om automatische aanvragen tegen te gaan, vragen wij u de bevestigingscode in te typen. De code wordt hiernaast in de afbeelding weergegeven.</label>
                            <div class="controls">
                                <asp:Image ID="img_Captcha" ImageUrl="~/Account/CaptchaImage.aspx" runat="server"/>
                            </div>
                            <div class="controls">
                                <asp:TextBox ID="txt_Captcha" MaxLength="6" CssClass="input-large" runat="server"></asp:TextBox>
                                <asp:RequiredFieldValidator ControlToValidate="txt_Captcha" ForeColor="Red" ErrorMessage="Bevestigingscode is niet ingevuld." ID="CaptchaRequired" runat="server" ValidationGroup="ResetPasswordValidationGroup"></asp:RequiredFieldValidator>
                            </div>
                        </div>
                        <div class="form-actions">
                            <asp:Button ID="ForgotPasswordButton" CausesValidation="True" CssClass="btn btn-inverse" runat="server" OnClick="ForgotPasswordClicked" Text="Submit" ValidationGroup="ResetPasswordValidationGroup"/>
                            <p class="help-block">
                                <asp:Label ID="errorLabel" ForeColor="Red" runat="server" Text=""></asp:Label>
                            </p>
                        </div>
                    </asp:Panel>
                    <asp:Panel ID="pnl_ForgotPasswordSubmitted" runat="server">
                        <p>
                           Uw aanvraag om uw wachtwoord te resetten is ontvangen. Binnen enkele ogenblikken ontvangt u een e-mail op het door u opgegeven e-mail adres.
                        </p>
                    </asp:Panel>
                </fieldset>
                <p><< Terug naar de <asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="~/Account/Login.aspx">Login</asp:HyperLink> pagina.</p>
            </div>
        </div>
    </div>
</asp:Content>
